Portable Menu 



On your site, it's often useful to have a navigation menu for visitors to help them get around on your site. This navigation menu, however, is different. As the visitor scrolls up and down your site, the menu moves up and down with them! It's a portable menu! (The only concern when adding this to your site is to make sure you move the regular content on your site over enough that the portable menu won't cover it) Great! 
--------------------------------------------------------------------------------
 

<!-- THREE STEPS TO INSTALL PORTABLE MENU:

  1.  Copy the coding into the HEAD of your HTML document
  2.  Add the onLoad event handler into the BODY tag
  3.  Put the last coding into the BODY of your HTML document  -->

<!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function setVariables() {
if (navigator.appName == "Netscape") {
v=".top=";
dS="document.";
sD="";
y="window.pageYOffset";
}
else {
v=".pixelTop=";
dS="";
sD=".style";
y="document.body.scrollTop";
   }
}
function checkLocation() {
object="object1";
yy=eval(y);
eval(dS+object+sD+v+yy);
setTimeout("checkLocation()",10);
}
//  End -->
</script>
</HEAD>

<!-- STEP TWO: Insert the onLoad event handler into your BODY tag  -->

<BODY OnLoad="setVariables();checkLocation()">

<!-- STEP THREE: Copy this code into the BODY of your HTML document  -->

<div id="object1" style="position:absolute; visibility:show; left:0px; top:0px; z-index:2">

<table width=130 border=0 cellspacing=20 cellpadding=0>
<tr>
<td><CENTER>Menu Bar</CENTER></td>
</tr>
<tr>
<td><a href="../index.html" >Home Page</a></td>
</tr>
<tr>
<td><a href="../new.html" >What's New?</a></td>
</tr>
<tr>
<td><a href="../forum/" >JavaScript Forum</a></td>
</tr>
<tr>
<td><a href="../feedback.html" >Site Feedback</a></td>
</tr>
</table>
</div>

<table>
<tr>
<td width=130>
<font color="white"> </font>
</td>

<td>

The rest of your site goes here

</td></tr>
</table>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  1.69 KB -->